<!DOCTYPE html>
<html>
<head>
    <title>首页 {$site_info.site_name|default=''}</title>
    <meta name="keywords" content="{$site_info.site_seo_keywords|default=''}"/>
    <meta name="description" content="{$site_info.site_seo_description|default=''}">
    <include file="public@head"/>

    <link href="__TMPL__/public/assets/simpleboot3/themes/simpleboot3/bootstrap.min.css" rel="stylesheet">
    <link href="__TMPL__/public/assets/css/tube.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/js/layui/css/layui.css" media="all">
    <link href="__TMPL__/public/assets/css/user-center.css" rel="stylesheet">

    <hook name="before_head_end"/>
</head>
<body class="body-white">
<include file="public@nav_new"/>

<div class="col-sm-12 tube_left pad-left_right">
    <div class="col-sm-2 pad-left_right tube-left1">
    <a href="{:cmf_url('user/tube/index')}">
        <div class="col-sm-12 tube-lgs tube-bgs"><i class="fa"><img src="__TMPL__/public/assets/images/summarya.png"></i><span>概述</span></div>
    </a>
    <a href="/user/profile/center.html">
        <div class="col-sm-12 tube-lyy tube-bgs">
            <i class="fa"><img src="__TMPL__/public/assets/images/me.png"></i><span>个人中心</span>
        </div>
        
    </a>
    <!-- <a href="/portal/index/posted">
        <div class="col-sm-12 tube-lyy tube-bgs"><i class="fa fa-plus-circle"></i><span>发布应用</span></div>
    </a> -->
    <a href="/portal/posted/index">
        <div class="col-sm-12 tube-lyy tube-bgs"><i class="fa"><img src="__TMPL__/public/assets/images/publish.png"></i><span>内测分发应用</span></div>
    </a>
    <a href="/portal/posted/supindex">
        <div class="col-sm-12 tube-lyy tube-bgs"><i class="fa"><img src="__TMPL__/public/assets/images/qianming.png"></i><span>超级签名应用</span></div>
    </a>
    <a href="/user/certificate/index">
        <div class="col-sm-12 tube-lyy tube-bgs"><i class="fa"><img src="__TMPL__/public/assets/images/summary.png"></i><span>证书管理</span>
        </div>
        <div class="user-center">
            <div class="user-center-c">
                <a href="/user/certificate/index">证书管理</a>
            </div>
            <div>
                <a href="/user/certificate/add_certificate">添加证书</a>
            </div>
            
            
            
        </div>
    </a>
    <!--todo 暂时没想好什么作用-->
    <!--    <a href="/user/tube/editor/id/0.html">-->
    <!--        <div class="col-sm-12 tube-lyy tube-bgs"><i class="fa fa-plus-circle"></i><span>发布空应用</span></div>-->
    <!--    </a>-->
    <div class="col-sm-12 tube-bor"></div>
    
</div>

    <!--  我的应用右侧 概述 -->
    <div class="col-sm-10 pad-left_right tube-right ">
        <!--     应用管理详情 -->
        <div class="user-left-top" style="margin-top: 20px;">
            <p>证书管理 > <span class="span-c">编辑证书</span></p>
        </div>
        <div class="col-sm-10 add_certificate_content  pad-left_right box_card">
            <div class="wrap js-check-wrap">
                <form class="form-horizontal" action="{:url('certificate/edit_certificate_post')}" method="post"
                      enctype="multipart/form-data">
                    <input name="id" type="hidden" value="{$certificate.id|default=''}">
                    <div class="form-group">
                        <label>备注信息</label>
                        <input type="text" class="form-control" name="mark" id="mark" placeholder="请输入备注信息"
                               value="{$certificate.mark|default=''}">
                    </div>
                    <div class="form-group">
                        <label>Team ID</label>
                        <input type="text" class="form-control" name="team_id" id="team_id" placeholder="请输入Team ID"
                               value="{$certificate.team_id|default=''}">
                    </div>
                    <div class="form-group">
                        <label>Iss</label>
                        <input type="text" class="form-control" name="iss" id="iss" placeholder="请输入Iss"
                               value="{$certificate.iss|default=''}">
                    </div>
                    <div class="form-group">
                        <label>Kid</label>
                        <input type="text" class="form-control" name="kid" id="kid" placeholder="请输入Kid"
                               value="{$certificate.kid|default=''}">
                    </div>
                    <div class="form-group">
                        <label>Tid</label>
                        <input type="text" class="form-control" name="tid" id="tid" placeholder="请输入与Tid"
                               value="{$certificate.tid|default=''}">
                    </div>
                    <div class="form-group">
                        <label>P12 密码</label>
                        <input type="text" class="form-control" name="p12_pwd" id="p12_pwd" placeholder="请输入P12密码"
                               value="{$certificate.p12_pwd|default=''}">
                    </div>

                    <div class="form-group">
                        <label>P12文件上传</label>
                        <input type="file" id="p12_file" name="p12_file">
                        <p class="help-block">请上传P12文件</p>
                    </div>

                    <div class="form-group">
                        <label>P8文件上传</label>
                        <input type="file" id="p8_file" name="p8_file">
                        <p class="help-block">请上传P8文件</p>
                    </div>
                    <button type="submit" class="btn_add_certificate">保存</button>
                </form>
            </div>
        </div>
    </div>

    <include file="public@scripts"/>
    <script src="__TMPL__/public/assets/js/slippry.min.js"></script>
    <script src="/static/js/layer/layer.js"></script>

    <hook name="before_body_end"/>
</div>
</body>
</html>
